projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0ab93c
)
Fix defaultvalue test due to csw
author
Alexander Larsson
<alexl@redhat.com>
Wed, 8 Jul 2009 14:59:14 +0000
(16:59 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Wed, 8 Jul 2009 16:47:43 +0000
(18:47 +0200)
Initialize GdkWindowAttr required fields. This makes sure toplevel
windows are not accidentally larger than 16bit.
gtk/tests/defaultvalue.c
patch
|
blob
|
history
diff --git
a/gtk/tests/defaultvalue.c
b/gtk/tests/defaultvalue.c
index 8451490948e67fe47b37ce098d8cb0db43abfc7d..3d3b988402d88a3d4e5512b2015cde91139051ac 100644
(file)
--- a/
gtk/tests/defaultvalue.c
+++ b/
gtk/tests/defaultvalue.c
@@
-102,6
+102,9
@@
test_type (gconstpointer data)
{
GdkWindowAttr attributes;
attributes.window_type = GDK_WINDOW_TEMP;
+ attributes.event_mask = 0;
+ attributes.width = 100;
+ attributes.height = 100;
instance = g_object_ref (gdk_window_new (NULL, &attributes, 0));
}
else